package ysu.sxm.ptjc.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  baodan_Fan 
 * @Date 2021-01-07 
 */

@Getter
@Setter
@ToString
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table ( name ="defect_statistical_info" )
public class DefectStatisticalInfo  implements Serializable {
	private static final long serialVersionUID =  4559805294979428678L;

	/**
	 * 缺陷编号
	 */
   	@Id
	private String defectNum;

	/**
	 * 生产日期
	 */
   	@Id
	private Timestamp produceDate;

	/**
	 * 数量
	 */
   	@Column(name = "produce_quantity" )
	private Long produceQuantity;

	public String getDefectNum() {
		return this.defectNum;
	}

	public void setDefectNum(String defectNum) {
		this.defectNum = defectNum;
	}

	public Timestamp getProduceDate() {
		return this.produceDate;
	}

	public void setProduceDate(Timestamp produceDate) {
		this.produceDate = produceDate;
	}

	public Long getProduceQuantity() {
		return this.produceQuantity;
	}

	public void setProduceQuantity(Long produceQuantity) {
		this.produceQuantity = produceQuantity;
	}

}
